.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.5s, opacity 0.5s linear;
}

.popup_opened {
  visibility: visible;
  opacity: 1;
  transition: visibility 0.5s, opacity 0.5s linear;
}

.popup__container {
  z-index: 10;
  width: 430px;
  max-height: 330px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 32px 36px 0 36px;
}

.popup__info {
  margin: 0;
  padding:20px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: black;
}

.popup__info-img {
  margin: 0;
  padding: 0;
}

.popup__info-text {
  text-align: center;
  margin: 0;
  padding-top: 40px;
  padding-bottom: 20px;
  max-width: 358px;
  max-height: 80px;
  font-size: 18px;
}

.popup__close {
  background-image: url(../../images/Close_Icon.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0);
  width: 32px;
  height: 32px;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  position: absolute;
  top: -40px;
  right: -40px;
}

@media screen and (max-width: 568px) {
  .popup__container {
    max-width: 282px;
    max-height: 322px;
    padding-top: 25px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .popup__close {
    width: 20px;
    height: 20px;
    background-size: cover;
    top: -35px;
    right: 0;
  }
}
